package com.freesky.common.dao.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.freesky.common.enums.HomeNavTypeEnum;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class HomeNav extends Model<HomeNav> {
    public HomeNav() {
    }
    public HomeNav(Integer id) {
        this.id = id;
    }
    @TableId
    private Integer id;
    private String name;
    private HomeNavTypeEnum type;
    private String url;
    private Integer sortOrder;
    private String createTime;
    private String updateTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
